﻿using System;

using ApplicationBoilerplate.DataProvider;

using MongoDB.Driver;

namespace MVCBootstrap.MongoDB {

	public interface IConnection : IContext {
		IMongoCollection<TEntity> GetCollection<TEntity>() where TEntity : class;
		MongoCollection<TEntity> Collection<TEntity>() where TEntity : class;
	}
}